﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApp3
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            var select = MessageBox.Show("i would buy a run-down house up in the hills", "if i had a lot of money in my bank account.", MessageBoxButtons.YesNo);
            if (select == DialogResult.Yes)
            {
                MessageBox.Show("if i was strong enough then i would always carry you.");
            }
            else
            {
                MessageBox.Show("i am so sorry for whatever that i said that day.");
            }
        }

        private void Form1_MouseClick(object sender, MouseEventArgs e)
        {
            Form2 form2 = new Form2();
            form2.Show();
            this.Hide();
        }
    }
}
